package Test;

import java.awt.Point;

import Controller.ConsoleGameAI;
import Model.*;
import junit.framework.TestCase;

/**
 * Tests related to the model for pacman
 * -Created Class(Mar 1,2011) Samual Martelli 
 * </pre>
 */
public class ModelTest extends TestCase {
	private PacMan testPac;
	private Ghost testGhost1;
	private Ghost testGhost2;
	private Ghost testGhost3;
	private Maze testMaze;
	private GameData testData;
	private Game testGame;
	
public void setUp() {
	     testPac = new PacMan(new Point(0,0));
	     testGhost1 = new Ghost(new Point(4,4),ConsoleGameAI.RANDOM_MOVE);
	     testGhost2 = new Ghost(new Point(5,5),ConsoleGameAI.CHASE_MOVE);
	     testGhost3 = new Ghost(new Point(6,6),ConsoleGameAI.FLEEING_MOVE);
	     testMaze = new Maze(Game.PACMAN_GAME, Maze.MAP_SIZE);
	     testData = new GameData( testPac, null, testMaze);
	     testData.addMonster(testGhost1);
	     testData.addMonster(testGhost2);
	     testData.addMonster(testGhost3);
		 testGame = new Game(Game.PACMAN_GAME, testData);
	}

	
	public void tearDown() {
	}
	
}
